package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
 * 评论
 * @author zl
 */
@TableMapperAnnotation(tableName = "t_comment", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class TComment extends Domain {

	private static final long serialVersionUID = 1L;
	@FieldMapperAnnotation
	Integer id;
	/**
	 * 相关id
	 */
	@FieldMapperAnnotation
	Integer relativeId;
	/**
	 * 相关表
	 */
	@FieldMapperAnnotation
	Integer type;
	/**
	 * 相关用户
	 */
	@FieldMapperAnnotation
	Integer userId;
	/**
	 * 状态  默认1正常 2禁用
	 */
	@FieldMapperAnnotation
	Integer state;
	/**
	 * 创建时间
	 */
	@FieldMapperAnnotation
	Long createTime;
	/**
	 * 修改时间
	 */
	@FieldMapperAnnotation
	Long modifyTime;
	/**
	 * 备注
	 */
	@FieldMapperAnnotation
	String remark;
	/**
	 * 评论内容
	 */
	@FieldMapperAnnotation
	String content;
	/**
	 * 评论图片
	 */
	@FieldMapperAnnotation
	String urlList;
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	public String getUrlList() {
		return urlList;
	}
	public void setUrlList(String urlList) {
		this.urlList = urlList;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	/**
	 * @return the relativeId
	 */
	public Integer getRelativeId() {
		return relativeId;
	}
	/**
	 * @return the type
	 */
	public Integer getType() {
		return type;
	}
	/**
	 * @return the userId
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * @return the state
	 */
	public Integer getState() {
		return state;
	}
	/**
	 * @return the createTime
	 */
	public Long getCreateTime() {
		return createTime;
	}
	/**
	 * @return the modifyTime
	 */
	public Long getModifyTime() {
		return modifyTime;
	}
	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @param relativeId the relativeId to set
	 */
	public void setRelativeId(Integer relativeId) {
		this.relativeId = relativeId;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 * @param userId the userId to set
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * @param state the state to set
	 */
	public void setState(Integer state) {
		this.state = state;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
	/**
	 * @param modifyTime the modifyTime to set
	 */
	public void setModifyTime(Long modifyTime) {
		this.modifyTime = modifyTime;
	}
	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}
	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

}
